var e = require("./_http.js");

exports.userInfo = function() {
    return new e.HTTP().request({
        url: "/ums/member/getUmsMemberInfo",
        data: {},
        method: "post"
    });
}, exports.updateUserInfo = function(t, r) {
    return new e.HTTP().request({
        url: "/ums/member/wxUpdateMemberInfo",
        data: {
            code: t,
            wxUserInfoParam: r
        },
        method: "post"
    });
}, exports.pointList = function(t, r) {
    return new e.HTTP().request({
        url: "/ums/member/integrationListByMemberId",
        data: {
            pageNum: t,
            pageSize: r
        },
        method: "post"
    });
}, exports.pointRule = function() {
    return new e.HTTP().request({
        url: "/ums/member/ruleExplain/IntegrationRule",
        data: {}
    });
}, exports.wishList = function(t, r) {
    return new e.HTTP().request({
        url: "/ums/member/availableWishListByMemberId",
        data: {
            pageNum: t,
            pageSize: r
        },
        method: "post"
    });
}, exports.wishRule = function() {
    return new e.HTTP().request({
        url: "/ums/member/ruleExplain/availableWishRule",
        data: {}
    });
}, exports.appRule = function() {
    return new e.HTTP().request({
        url: "/ums/member/ruleExplain/drawBoxUseRule",
        data: {}
    });
}, exports.taskHome = function() {
    return new e.HTTP().request({
        url: "/taskManager/getTaskListDetails",
        data: {},
        method: "post"
    });
}, exports.service = function() {
    return new e.HTTP().request({
        url: "/ums/member/ruleExplain/contactCustomer",
        data: {}
    });
}, exports.shareInfo = function() {
    return new e.HTTP().request({
        url: "/pms/product/getBrightBoxShareCount",
        data: {},
        method: "post"
    });
}, exports.getOpenBrightBoxShareCount = function() {
    return new e.HTTP().request({
        url: "/pms/product/getOpenBrightBoxShareCount",
        data: {},
        method: "post"
    });
}, exports.couponList = function(t, r, u) {
    return new e.HTTP().request({
        url: "/ams/couponHistory/listByMemberId",
        data: {
            pageNum: t,
            pageSize: r,
            formData: u
        },
        method: "post"
    });
}, exports.couponDetail = function(t) {
    return new e.HTTP().request({
        url: "/ams/couponHistory/detail/" + t,
        data: {}
    });
}, exports.deliveryAgreement = function() {
    return new e.HTTP().request({
        url: "/oms/order/deliveryAgreement",
        data: {}
    });
}, exports.sendIntegrationChangeSubscribe = function(t) {
    return new e.HTTP().request({
        url: "/ums/member/sendIntegrationChangeSubscribe",
        data: t,
        method: "post"
    });
}, exports.subscribeNotice = function(t) {
    return new e.HTTP().request({
        url: "/ums/member/subscribeNotice/" + t,
        data: {}
    });
};